-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👌 Add SavingOptions to save_result API #966
Conversation
Codecov Report
@@ Coverage Diff @@
## main #966 +/- ##
=======================================
+ Coverage 85.3% 85.6% +0.2%
=======================================
Files 90 90
Lines 4859 4883 +24
Branches 913 916 +3
=======================================
+ Hits 4149 4181 +32
+ Misses 561 552 -9
- Partials 149 150 +1
Continue to review full report at Codecov.
|
Benchmark is done. Checkout the benchmark result page. Benchmark diff v0.5.1 vs. mainParametrized benchmark signatures: BenchmarkOptimize.time_optimize(index_dependent, grouped, weight)
Benchmark diff main vs. PRParametrized benchmark signatures: BenchmarkOptimize.time_optimize(index_dependent, grouped, weight)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed ok.
Co-authored-by: Jörn Weißenborn <[email protected]>
Overwriting saved results is only allowed 'if allow_overwrite is True'
72ca809
3b1ffe8
to
72ca809
Compare
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 1.08%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
My take on #874 😝
The main difference is
data_filter
is applied on thesave_result
level instead of adding an unused keyword to allsave_dataset
methods.I also deprecated the
legacy
plugin and madefolder
throw a warning when not used from inside another plugin, thus promotingyml
to the gotosave_result
plugin, which will make the transition to project easier.The
folder
plugin now also doesn't savemodel.yml
norscheme.yml
, that way it can easier be reused in different plugins.Change summary
Checklist
Closes issues
closes #874